﻿using JinfuyuanProject.Entity;
using JinfuyuanProject.Entity.Filter;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JinfuyuanProject.Service
{
    public interface IStaffService
    {
        IQueryable<Staff> GetList();

        Staff GetModel(int Id);

        bool Delete(Staff staff);

        int Insert(Staff staff);

        bool Update(Staff staff);
        List<StaffTree> GetStaffTree();
        List<StaffTree> GetAreaChildNode();
        Hashtable StaffAPI(StaffFilter filter);
        string GetNumber();
        Hashtable SearchStaffName(string keywords);
    }
}
